package com.agy.filemanager.service.impl;

import com.agy.filemanager.entity.TreeModel;
import com.agy.filemanager.mapper.DcSystemDao;
import com.agy.filemanager.service.DcSystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统设置-
 * @author jpf
 */
@Service
public class DcSystemServiceImpl implements DcSystemService {
    @Autowired
    private DcSystemDao dcSystemDao;

    /**
     * -获取系统设置下的二级菜单列表
     * @param father_id
     * @return
     */
    @Override
    public List<TreeModel> selectMenusBy(String father_id) {
        List<TreeModel> list = this.dcSystemDao.selectMenusBy(father_id);
        return list;
    }
}
